<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language="javascript" type="text/javascript"
	src="<%=request.getContextPath()%>/swordweb/core/jsimport/Sword.js"></script>
<script language="javascript">
   
  	function init(){
		swordAlert("由于您长时间不操作，请重新登录！",{"onOk":function(){logon();}});
	}
	function logon(){
		window.top.location.href="<%=request.getContextPath()%>";
	}
	document.onkeydown=function(event){ 
        e = event ? event :(window.event ? window.event : null); 
        if(e.keyCode==13){ 
            //执行的方法  
            logon();
        } 
    };

</script>
</head>
<body >
	<div sword='PageInit' onAfter='init()'></div>
</body>
</html>